Add #define BABL_ALPHA_THRESHOLD which is the alpha threshold used in the
authorMartin Nordholts <martinn@src.gnome.org>
Sun, 16 Nov 2008 12:36:50 +0000 (12:36 +0000)
committerMartin Nordholts <martinn@src.gnome.org>
Sun, 16 Nov 2008 12:36:50 +0000 (12:36 +0000)
commitb79008bbf9dcf4482555085a6b1a277ceba3442b
treefaab4cc9e3b5fc70e4f1fa9df13cad886678ff74
parentbd0df022582a1d45e608c32d7a3e774f4a4a2a0a
Add #define BABL_ALPHA_THRESHOLD which is the alpha threshold used in the

* babl/babl.h: Add #define BABL_ALPHA_THRESHOLD which is the alpha
threshold used in the reference implementation for
un-pre-multiplication of color data.

* babl/base/model-rgb.c
* babl/base/model-gray.c
* extensions/gegl-fixups.c: Use the define, a consistent alpha
threshold improves accurucy of conversions.

svn path=/trunk/; revision=356
ChangeLog
babl/babl.h
babl/base/model-gray.c
babl/base/model-rgb.c
extensions/gegl-fixups.c